package com.oocl.homework0718.pojo;

import java.io.Serializable;
import java.util.Date;

public class Books implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String name;  
	private Date publicationDate;
	private String author;
	private double price;
	private Boolean fineness;
	private String publisher;
	
	public Books() {}

	
	
	public Books(Integer id, String name, Date publicationDate, String author,
			double price, Boolean fineness, String publisher) {
		super();
		this.id = id;
		this.name = name;
		this.publicationDate = publicationDate;
		this.author = author;
		this.price = price;
		this.fineness = fineness;
		this.publisher = publisher;
	}



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getPublicationDate() {
		return publicationDate;
	}

	public void setPublicationDate(Date publicationDate) {
		this.publicationDate = publicationDate;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public Boolean getFineness() {
		return fineness;
	}

	public void setFineness(Boolean fineness) {
		this.fineness = fineness;
	}

	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}



	@Override
	public String toString() {
		return "Books [id=" + id + ", name=" + name + ", publicationDate="
				+ publicationDate + ", author=" + author + ", price=" + price
				+ ", fineness=" + fineness + ", publisher=" + publisher + "]";
	}
	
	
	
}
